using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN INamThuServiceBase****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:09/08/2010 12:01:35</para>
	/// <para>Class Name: INamThuServiceBase</para>
	/// <para>Description: </para>
	///</summary>

	[ServiceContract]
	public partial  interface INamThuService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:09/08/2010 12:01:35</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: NamThu</para>
		/// <para>Output: NamThuEntity</para>
		///</summary>
		[OperationContract]
		NamThuEntity SelectOne(Byte NamThu);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:09/08/2010 12:01:35</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of NamThuEntity</para>
		///</summary>
		[OperationContract]
		List<NamThuEntity> SelectAll();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:09/08/2010 12:01:35</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDS();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:09/08/2010 12:01:35</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of NamThuEntity</para>
		///</summary>
		[OperationContract]
		List<NamThuEntity> SelectAllFilter(string strFilter);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:09/08/2010 12:01:35</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSFilter(string strFilter);
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:09/08/2010 12:01:35</para>
		/// <para>Name: Save</para>
		/// <para>Input: NamThuEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Save(NamThuEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:09/08/2010 12:01:35</para>
		/// <para>Name: SaveRet</para>
		/// <para>Input: NamThuEntity</para>
		/// <para>Output: return entity if succeeded else return null</para>
		///</summary>
		[OperationContract]
		NamThuEntity SaveRet(NamThuEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:09/08/2010 12:01:35</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of NamThuEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void SaveList(List<NamThuEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:09/08/2010 12:01:35</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of NamThuEntity</para>
		/// <para>Output: return list of entities if succeeded else return null list</para>
		///</summary>
		[OperationContract]
		List<NamThuEntity> SaveListRet(List<NamThuEntity> list);
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:09/08/2010 12:01:35</para>
		/// <para>Name: Update</para>
		/// <para>Input: NamThuEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Update(NamThuEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:09/08/2010 12:01:35</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of NamThuEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void UpdateList(List<NamThuEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:09/08/2010 12:01:35</para>
		/// <para>Name: UpdateNamThu</para>
		/// <para>Input: NewNamThu,NamThu</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateNamThu(Byte NewNamThu,Byte NamThu);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:09/08/2010 12:01:35</para>
		/// <para>Name: UpdateTenNam</para>
		/// <para>Input: NewTenNam,NamThu</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateTenNam(string NewTenNam,Byte NamThu);
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:09/08/2010 12:01:35</para>
		/// <para>Name: Delete</para>
		/// <para>Input: NamThuEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Delete(NamThuEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:09/08/2010 12:01:35</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: NamThu</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool DeleteByID(Byte NamThu);
		#endregion

		#region Select,delete by NamThu functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END NamThuWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

